﻿using System;
using DapperExtensions.Mapper;

namespace ZilLion.Service.WechatService.Domain.WebApiEntity.MemberCard
{
    public class Wxmplist
    {
        private string _uopenappid = string.Empty;
      
        public string uopenappid
        {
            get { return _uopenappid; }
            set { _uopenappid = value; }
        }

      

        public DateTime uoprtime { get; set; }
        public short msgtype { get; set; }
        public string msgcontent { get; set; }
        public string msgdesc { get; set; }
        
    }

    public class WxmplistMapper : ClassMapper<Wxmplist>
    {
        public WxmplistMapper()
        {
            Table("#Wxmplist");
            Map(f => f.uopenappid).Column("uopenappid");
            //Map(f => f.ucode).Column("ucode");
            //Map(f => f.ucardid).Column("ucardid");
            Map(f => f.uoprtime).Column("uoprtime");
            Map(f => f.msgtype).Column("msgtype");
            Map(f => f.msgcontent).Column("msgcontent");
            Map(f => f.msgdesc).Column("msgdesc");
        }
    }
}
